import { DatabaseOptions } from '~/core/db';

export type ResultFormatterType = 'default' | 'json' | 'json-min' | 'json-console' | 'markdown';
export type StyleType = 'default' | 'json' | 'json-min' | 'markdown';

/**
 * Options for the engine.
 *
 * @category Engine
 */
export interface EngineOptions {
    database: DatabaseOptions;

    formatter?: ResultFormatterType;
    style?: StyleType;

    /**
     * 'stdout' | file path
     */
    output?: string;
}
